FHIR IG Statistics: StructureDefinition/HDBP0037-Patient 
| Package | healthdata.be.r4.dcd | 
| Resource Type | StructureDefinition | 
| Id | HDBP0037-Patient | 
| FHIR Version | R4 | 
| Source | https://simplifier.net/resolve?scope=healthdata.be.r4.dcd@0.2.0-beta&canonical=https://fhir.healthdata.be/StructureDefinition/HDBP0037-Patient | 
| URL | https://fhir.healthdata.be/StructureDefinition/HDBP0037-Patient | 
| Status | draft | 
| Name | HDBP0037Patient | 
| Title | HDBP0037 Patient | 
| Description | Derived [HdBe-Patient](https://simplifier.net/guide/HdBe-R4-CBB/Home/FHIR/HdBe-Patient.page.md?version=current) profile. | 
| Copyright | Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise. | 
| Type | Patient | 
| Kind | resource | 
Resources that use this resource
Resources that this resource uses
Narrative
No narrative content found in resource
Source
{
  "resourceType": "StructureDefinition",
  "id": "HDBP0037-Patient",
  "url": "https://fhir.healthdata.be/StructureDefinition/HDBP0037-Patient",
  "name": "HDBP0037Patient",
  "title": "HDBP0037 Patient",
  "status": "draft",
  "publisher": "Healthdata.be (Sciensano)",
  "contact": [
    {
      "name": "Service portal – healthdata.be",
      "telecom": [
        {
          "system": "url",
          "value": "https://sciensano.service-now.com/sp",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Derived [HdBe-Patient](https://simplifier.net/guide/HdBe-R4-CBB/Home/FHIR/HdBe-Patient.page.md?version=current) profile.",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "https://fhir.healthdata.be/StructureDefinition/HdBe-Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient",
        "constraint": [
          {
            "key": "pat-1",
            "severity": "error",
            "human": "If a Patient does not have a SSIN, it MUST have a generated patient ID.",
            "expression": "Patient.identifier.where(system = 'https://www.ehealth.fgov.be/standards/fhir/NamingSystem/ssin').exists().not() implies (identifier.system.exists() and identifier.value.exists())"
          },
          {
            "key": "pat-2",
            "severity": "error",
            "human": "If a Patient does not have a SSIN, it MUST have a first name",
            "expression": "Patient.identifier.where(system = 'https://www.ehealth.fgov.be/standards/fhir/NamingSystem/ssin').exists().not() implies name.given.exists()"
          },
          {
            "key": "pat-3",
            "severity": "error",
            "human": "If a Patient does not have a SSIN, it MUST have a last name",
            "expression": "Patient.identifier.where(system = 'https://www.ehealth.fgov.be/standards/fhir/NamingSystem/ssin').exists().not() implies name.family.exists()"
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "condition": [
          "pat-1"
        ]
      },
      {
        "id": "Patient.identifier:SSIN",
        "path": "Patient.identifier",
        "sliceName": "SSIN",
        "comment": "If a patient does not have an SSIN, it is obligatory to sent the following information regarding the patient: \r\n- a generated patient ID\r\n- the date of birth\r\n- the sex\r\n- the first name\r\n- the last name"
      },
      {
        "id": "Patient.name:nameInformation",
        "path": "Patient.name",
        "sliceName": "nameInformation"
      },
      {
        "id": "Patient.name:nameInformation.family",
        "path": "Patient.name.family",
        "condition": [
          "pat-3"
        ]
      },
      {
        "id": "Patient.name:nameInformation.given",
        "path": "Patient.name.given",
        "condition": [
          "pat-2"
        ]
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": 1
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "min": 1
      }
    ]
  }
}